home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Gamer Resource Kit / Hardcore Gamer Resource Kit - Disc 3.iso / screensavers / saver17.zip / VoodooLights / Sources / rgb.h < prev    next >
C/C++ Source or Header  |  1997-07-17  |  379b  |  20 lines

  1. #ifndef _RGB_H_
  2. #define _RGB_H_
  3.  
  4.  
  5. #define BLACK       0L
  6. #define WHITE       1L
  7.  
  8. typedef struct { Float r, g, b ; } RGB ;
  9.  
  10. typedef struct { Float r, g, b, a ; } RGBA ;
  11.  
  12. extern void rgb_InitPalette(void) ;
  13.  
  14. extern void rgb_SetVertexColor( int id, GrVertex *v ) ;
  15.  
  16. extern void rgb_SetRGBColor( int i, RGB *p ) ;
  17.  
  18. extern void rgb_random_color( RGBA *c ) ;
  19.  
  20. #endif